public class Point2D{
	protected int x;
	protected int y;

	public Point2D(){

	}

	public Point2D(int x,int y){
		this.x=x;
		this.y=y;
	}

	public void setX(int x){
		this.x=x;
	}
	public void setY(int y){
		this.y=y;
	}

	public int getX(){
		return x;
	}
	public int getY(){
		return y;
	}

	protected int getTatal(){
		return x*y;
	}

	public Point2D getCopy(){
		return new Point2D(x,y);
	}
}